package com.xdf.carryout.entity;

import java.io.Serializable;
import java.util.Date;

public class Cpbillmain implements Serializable {
    private Integer id;

    private String billcode;

    private Date date;

    private String plate;

    private String driver;

    private Double freight;

    private String clientid;

    private Integer operatorid;

    private String voucher;

    private String remark;

    private Integer status;

    private String zxg1;

    private String zxg2;

    private String zxg3;

    private String zxg4;

    private String zxg5;

    private Double accountkg;

    private String consignee;

    private Integer billTypeId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillcode() {
        return billcode;
    }

//    public void setBillcode(String billcode) {
//        this.billcode = billcode == null ? null : billcode.trim();
//    }
public void setBillcode(String billcode) {
    this.billcode = billcode == null ? null : billcode;
}

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getPlate() {
        return plate;
    }

//    public void setPlate(String plate) {
//        this.plate = plate == null ? null : plate.trim();
//    }
public void setPlate(String plate) {
    this.plate = plate == null ? null : plate;
}

    public String getDriver() {
        return driver;
    }

//    public void setDriver(String driver) {
//        this.driver = driver == null ? null : driver.trim();
//    }
public void setDriver(String driver) {
    this.driver = driver == null ? null : driver;
}

    public Double getFreight() {
        return freight;
    }

    public void setFreight(Double freight) {
        this.freight = freight;
    }

    public String getClientid() {
        return clientid;
    }

//    public void setClientid(String clientid) {
//        this.clientid = clientid == null ? null : clientid.trim();
//    }

    public void setClientid(String clientid) {
        this.clientid = clientid == null ? null : clientid;
    }
    public Integer getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(Integer operatorid) {
        this.operatorid = operatorid;
    }

    public String getVoucher() {
        return voucher;
    }

    public void setVoucher(String voucher) {
//        this.voucher = voucher == null ? null : voucher.trim();
        this.voucher = voucher == null ? null : voucher;
    }

    public String getRemark() {
        return remark;
    }

//    public void setRemark(String remark) {
//        this.remark = remark == null ? null : remark.trim();
//    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getZxg1() {
        return zxg1;
    }

//    public void setZxg1(String zxg1) {
//        this.zxg1 = zxg1 == null ? null : zxg1.trim();
//    }
public void setZxg1(String zxg1) {
    this.zxg1 = zxg1 == null ? null : zxg1;
}

    public String getZxg2() {
        return zxg2;
    }

//    public void setZxg2(String zxg2) {
//        this.zxg2 = zxg2 == null ? null : zxg2.trim();
//    }

    public void setZxg2(String zxg2) {
        this.zxg2 = zxg2 == null ? null : zxg2;
    }

    public String getZxg3() {
        return zxg3;
    }

//    public void setZxg3(String zxg3) {
//        this.zxg3 = zxg3 == null ? null : zxg3.trim();
//    }
public void setZxg3(String zxg3) {
    this.zxg3 = zxg3 == null ? null : zxg3;
}

    public String getZxg4() {
        return zxg4;
    }

//    public void setZxg4(String zxg4) {
//        this.zxg4 = zxg4 == null ? null : zxg4.trim();
//    }
public void setZxg4(String zxg4) {
    this.zxg4 = zxg4 == null ? null : zxg4;
}
    public String getZxg5() {
        return zxg5;
    }

//    public void setZxg5(String zxg5) {
//        this.zxg5 = zxg5 == null ? null : zxg5.trim();
//    }
public void setZxg5(String zxg5) {
    this.zxg5 = zxg5 == null ? null : zxg5;
}
    public Double getAccountkg() {
        return accountkg;
    }

    public void setAccountkg(Double accountkg) {
        this.accountkg = accountkg;
    }

    public String getConsignee() {
        return consignee;
    }

//    public void setConsignee(String consignee) {
//        this.consignee = consignee == null ? null : consignee.trim();
//    }
public void setConsignee(String consignee) {
    this.consignee = consignee == null ? null : consignee;
}
    public Integer getBillTypeId() {
        return billTypeId;
    }

    public void setBillTypeId(Integer billTypeId) {
        this.billTypeId = billTypeId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", billcode=").append(billcode);
        sb.append(", date=").append(date);
        sb.append(", plate=").append(plate);
        sb.append(", driver=").append(driver);
        sb.append(", freight=").append(freight);
        sb.append(", clientid=").append(clientid);
        sb.append(", operatorid=").append(operatorid);
        sb.append(", voucher=").append(voucher);
        sb.append(", remark=").append(remark);
        sb.append(", status=").append(status);
        sb.append(", zxg1=").append(zxg1);
        sb.append(", zxg2=").append(zxg2);
        sb.append(", zxg3=").append(zxg3);
        sb.append(", zxg4=").append(zxg4);
        sb.append(", zxg5=").append(zxg5);
        sb.append(", accountkg=").append(accountkg);
        sb.append(", consignee=").append(consignee);
        sb.append(", billTypeId=").append(billTypeId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}